
export interface UserInfo {
	readonly username:string,
	readonly objectId:string,
	readonly sessionToken:string,
	avatar:string,
	name:string
	phone:string
}
export interface AccountType{
	username:string,
	password:string
}
//注册、登录失败数据类型
export interface LoginRegError {
	data?:{
		code:number
		error:string
	}
}